package com.yh.service.impl;


import org.springframework.beans.factory.annotation.Autowired;

@RestController
public class MyCustomTypeController {
    @Autowired
    private MyCustomType myCustomType;

    @GetMapping()
    public String hello() {
        return "Hello, " + myCustomType.getName() + "!";
    }
}
